import {
    ElContainer,
    ElHeader,
    ElPopover,
    ElMain,
    ElSwitch,
    ElAside,
    ElMenu,
    ElMenuItem,
    ElMenuItemGroup,
    ElPagination,
    ElTabs,
    ElTabPane,
    ElTable,
    ElTableColumn,
    ElSlider,
    ElInput,
    ElButton,
    ElDrawer,
    ElInfiniteScroll,
    ElDialog,

    ElLoading,
    ElMessage,
    ElCarousel,
    ElCarouselItem

} from 'element-plus'

export default (app) => {
    app.use(ElContainer)
    app.use(ElHeader)
    app.use(ElMain)
    app.use(ElAside)
    app.use(ElPopover)
    app.use(ElSwitch)
    app.use(ElMenu)
    app.use(ElMenuItem)
    app.use(ElMenuItemGroup)

    app.use(ElTabs)
    app.use(ElTabPane)
    app.use(ElTable)
    app.use(ElTableColumn)
    app.use(ElSlider)
    app.use(ElInput)

    app.use(ElButton)

    app.use(ElDrawer)
    app.use(ElInfiniteScroll)
    app.use(ElDialog)

    // app.use(ElTooltip)
    app.use(ElPagination)
    app.use(ElLoading)

    app.use(ElCarousel)
    app.use(ElCarouselItem)


    app.provide('$message', ElMessage)
}